package com.friends.design.mode.observer;

import org.springframework.context.ApplicationEvent;

/**
 *
 * @Author Zhao Tianhao
 * @Description xx事件对象
 * @Date 2024/10/9 14:56
 */
public class XEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;

	private String message;

	public XEvent(Object source, String message) {
		super(source);
		this.message = message;
	}

	public String getMessage() {
		return message;
	}
}
